package com.lwp.springboot.sbmybatis;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @SpringBootConfiguration(proxyBeanMethods = false)
 * @EnableAutoConfiguration
 * @Import({ SomeConfiguration.class, AnotherConfiguration.class })
 *
 * @SpringBootApplication same as @SpringBootConfiguration @EnableAutoConfiguration @ComponentScan
 * @MapperScan({"com.demo.**.mapper", "com.demo.*.mapper"}) // 支持通配符
 * @MapperScan({"com.lwp.springboot.sbmybatis.**.mapper"})
 *
 * @author lanwp
 */
@MapperScan({"com.lwp.springboot.sbmybatis.**.mapper"})
@SpringBootApplication
public class SbMybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(SbMybatisApplication.class, args);
    }

}
